package io.datajek.springbasics.movierecommendersystem.lesson8;

import io.datajek.springbasics.movierecommendersystem.lesson2.Filter;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.util.Set;

@Component
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class CollaborativeFilter implements Filter {
    public CollaborativeFilter(){
        super();
    }


    public String[] getRecommendations(String movie){

        return new String[]{"Finding Nemo", "Ice Age", "Toy Story"};

    }


}
